package com.general.campus.servlet;

import java.io.IOException;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.SimpleTagSupport;

/**
 * @ClassName PrinterTag
 * @Desc: 打印的标签
 * @Author wangxuan
 * @Date: 2021/7/6 20:21
 * @Verson: 1.0
 **/
public class PrinterTag extends SimpleTagSupport {

    @Override
    public void doTag() throws JspException,IOException
    {
        JspWriter jw=getJspContext().getOut();
        jw.println("<h2>JSP Custom Tag</h2>");
    }
}
